package com.personnel.mapper;

import com.personnel.pojo.Staff;
import org.apache.ibatis.annotations.Mapper;

/**
 * 管理员(Admin)表数据库访问层
 *
 * @author yuepeng
 * @since 2021-11-25 19:06:09
 * @version 1.0
 */
@Mapper
public interface LoginMapper {

    Staff login(String loginName, String password);

    Staff loginByPhone(String phone, String msgCode);
}